<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="rong.common.utils.SpringSecurityUtils" %>
<%@ include file="/res/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${site}后台主页</title>
<%@ include file="/res/common/meta.jsp" %>
<!-- link href="${ctx}/res/css/" type="text/css" rel="stylesheet"  -->
<script src="${ctx}/res/js/jquery-1.2.6.js" type="text/javascript"></script>
<script src="${ctx}/res/js/login.js" type="text/javascript"></script>
</head>
<body>
${site}
hello world
<s:property value="exception.message"/>
<s:property value="message"/>
你好,<%=SpringSecurityUtils.getCurrentUserName()%>
<br />
<sec:authorize ifAnyGranted="A_VIEW_USER">
<a href="user/user.action">用户列表</a> <br/>
</sec:authorize>
<sec:authorize ifAnyGranted="A_VIEW_ROLE">
<a href="user/role.action">角色列表</a>
</sec:authorize>
<a href="${ctx}/j_spring_security_logout">退出登录</a>

</body>
</html>